<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ page import="com.gouwudai.gobbs.pojo.TbbsAffiche"%>
<%@ include file="../common/common.jsp" %>
<%@ include file="user_pass.jsp" %>
<%
Integer affId = ParamUtils.getIntParameter(request,"affId");

IAfficheService afficheService = (IAfficheService)BeanManager.getBean("afficheService");
TbbsAffiche tbbsAffiche = afficheService.load(affId);
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%=SYSTITLE%> - 社区公告 - <%=tbbsAffiche.getTitle() %></title>
<meta name="Keywords" content="<%=SYSMETAKEY%>" />
<meta name="Description" content="<%=SYSMETADESC%>" />
<%@ include file="../common/meta.inc" %>
<link rel="stylesheet" type="text/css" href="css/defaultStyle.css" >
</head>
<body>
<%@ include file="../common/waiting.inc" %>
<SCRIPT language="javascript">

setStatus('<%=SYSTITLE%> - 社区公告 - <%=tbbsAffiche.getTitle() %>');
</SCRIPT>
<DIV class="line"></DIV>
<DIV class="list_table_0"><%=HtmlConst.navMenu("社区公告")%></DIV>
<DIV class="line"></DIV>
<table width="100%" border="0" align="center" cellpadding="4" cellspacing="1" class="tab">
	<tr>
		<td width="191" valign="top" class="tab2" nowrap="nowrap"><strong>发布人: </strong><%=tbbsAffiche.getOpUser() %>
			<span class="smallTxt"><br/>
			<strong>发布时间: </strong>
			<%=HtmlConst.formatDateHtml(tbbsAffiche.getCreateDatetime()) %>
			<br />
			<strong>有效日期: </strong>
			<%=(tbbsAffiche.getValidDays()==0)?"长期有效":0 %>
			</span>	</td>
		<td valign="top" class="tab3"><strong><%=tbbsAffiche.getTitle() %></strong><br>
		<%=tbbsAffiche.getContent()%>
		<br>
		<br></td>
	</tr>
</table>
<%=COPYRIGHTFOOT%>
<%@ include file="../common/foot.inc"%>
</body>
</html>
